<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/11/1 0001
 * Time: 下午 4:57
 */
namespace app\api\controller;

class Type extends Base{
    public function getBusinessAreaType(){
        $Type = \app\admin\model\Type::where(true)->select();
        if($Type){
            return show(config('status.success_code'),'ok',$Type);
        }else{
            return show(config('status.error_code'),'error',null);
        }
    }
}